home *** CD-ROM | disk | FTP | other *** search
/ Spanish Scene 1 / SpanishScene1.iso / spanish pack n°1 by llfb / --llfb-- / programas / visu1.0-1.1.dms / visu1.0-1.1.adf / s / SPAT < prev    next >
AmigaDOS Script File  |  1988-08-13  |  229b  |  11 lines

  1. .key com/a,pat/a,opt1,opt2,opt3,opt4
  2. failat 21
  3. list >t:q<$$> <pat> lformat="<com> *"%s%s*" <opt1> <opt2> <opt3> <opt4>"
  4. IF NOT FAIL
  5. execute t:q<$$>
  6. ELSE
  7. echo "<pat> not found"
  8. ENDIF
  9. failat 10
  10. ;do wildcards for single arg command
  11.